import request from '@/utils/request'
/**
 * 通用接口
 */
export const fileUpload = (file) => {
  return request({
    url: '/common/upload',
    method: 'post',
    headers: {
      'Content-Type': 'multipart/form-data'
    },
    data: {
      file
    }
  })
}
